package org.microdream.easy.deploy.service;

import ice.server.comm.BaseServiceImpl;
import ice.server.comm.CommRepository;
import org.microdream.easy.deploy.dao.DGroupMemberRepository;
import org.microdream.easy.deploy.po.DGroupMember;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class DGroupMemberService extends BaseServiceImpl<DGroupMember, Integer>{

    @Resource
    private DGroupMemberRepository dGroupMemberRepository;

    @Override
    public CommRepository<DGroupMember, Integer> getRepository() {

        return dGroupMemberRepository;
    }

    @Override
    public Integer getIdenty(DGroupMember t) {
        return t.getId();
    }
}
